USAGE: cellog inimg outimg [-f FAC_THRESH] [-c CONNECTIVITY]
[-i ITERATIONS] [-o OPERATION] [I] [-L]
cellog performs cellular logic of input binary image.
ARGUMENTS:
inimg: input image filename (TIF)
outimg: output image filename (TIF)
OPTIONS:
-f FAC_THRESH: factor number threshold, above which operation
performed; (default = 5, range= 0-7)
smaller the threshold value, the larger the effect
-c: flag to maintain connectivity; default is not set.
NOTE: this does not guarantee retention of,
only maintains it better than not;
if absolute retention is required,
use KFILL or THIN program, depending on purpose.
-i ITERATIONS: number of iterations to perform;
(default = 1)
-o OPERATION: for dilation(1), erosion(2), closing(3),
or opening(4) (default = 1).
closing operation is alternating dilation-erosion;
opening operation is alternating erosion-dilation;
for opening or closing, the number of iterations is
the sum of the comprising dilation and erosion iterations.
-I: invert input image before processing
-L: print Software License for this module
Example:
cellog e.tif eErode.tif -i 7 -f 2 -c -o 2 -I
e.tif:
eErode.tif:
Copyright (C) 1999 MLMSoftware Group, LLC.